<%@page import="itsm.isperp.framework.core.context.ContextHolder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%><div class="ui-body ">
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
	<%
	  String path = request.getContextPath();
	  String basePath = ContextHolder.getWebServerName(request);
	%>

	<div class="weui-cell " style="padding:5px 10px">
		<div class="weui-cell__hd">
			<label class="weui-label">事件编号</label>
		</div>
		<div class="weui-cell__bd weui-cell_primary">${model.code}</div>
		<div class="weui-cell_ft" style="display: none">
			<i class="weui_icon_warn"></i>
		</div>
	</div>
	<div class="weui-cell " style="padding:5px 10px">
		<div class="weui-cell__hd">
			<label class="weui-label">当前状态</label>
		</div>
		<div class="weui-cell__bd weui-cell_primary" style="color:red">${model.status}</div>
		<div class="weui-cell_ft" style="display: none">
			<i class="weui_icon_warn"></i>
		</div>
	</div>

	<div class="weui-cell " style="padding:5px 10px">

		<div class="weui-cell__bd weui-cell_primary small-title">${model.description}</div>
		<div class="weui-cell_ft" style="display: none">
			<i class="weui_icon_warn"></i>
		</div>
	</div>

	<c:if test="${fileList.size()>0 }">
		<div class="weui-cell " style="padding:5px 10px">
			<div class="weui-cell__hd">
				<label class="weui-label">附件</label>
			</div>
			<div class="weui-cell__bd weui-cell_primary" style="color:red">
               <c:forEach items="${fileList }" var="flist">
                  <c:choose>
                    <c:when test="${flist.ext eq 'jpg' }">
                     <span> <img src="<%=basePath%>${flist.path }" width="50px" height="50px"/>
                     </span>
                    </c:when>
                    <c:otherwise>
                      <span><a href="<%=basePath%>${flist.path }">${flist.name }</a>
                      </span>
                    </c:otherwise>
                  </c:choose>
               </c:forEach>
			</div>
			<div class="weui-cell_ft" style="display: none">
				<i class="weui_icon_warn"></i>
			</div>
		</div>
	</c:if>

</div>
<hr>
<div class="ui-content format-exp" style="padding-top:0">

	<ol class="exp-conent-orderlist">


		<li class="exp-content-list list-item-1"><div class="list-icon">1</div>
			<div class="content-list-text">事件登记</div>
			<div class="content-list-media">${descStep1}</div></li>
		<li class="exp-content-list ${step2 }"><div class="list-icon">2</div>
			<div class="content-list-text">分派工程师</div>
			<div class="content-list-media">${descStep2 }</div>
		</li>
		<li class="exp-content-list ${step3 }"><div class="list-icon">3</div>
			<div class="content-list-text">工程师响应</div>
			<div class="content-list-media">${descStep3 }</div>
		</li>
		<li class="exp-content-list  ${step4 }"><div class="list-icon">4</div>
			<div class="content-list-text">工程师到场</div>
			<div class="content-list-media">${descStep4 }</div></li>
		<li class="exp-content-list ${step5 }"><div class="list-icon">5</div>
			<div class="content-list-text">问题解决</div>
			<div class="content-list-media">${descStep5 }</div>
		</li>
		<li class="exp-content-list ${step6 }"><div class="list-icon">6</div>
			<div class="content-list-text">事件关闭</div>
			<div class="content-list-media">${descStep6 }</div>
		</li>
	</ol>
</div>